<?php
declare (strict_types = 1);

namespace app\api\model;

use app\common\model\Api;
use think\Model;

/**
 * @mixin think\Model
 */
class Order extends Api
{
    public function userIndex()
    {
        return $this->belongsTo('user_index');
    }
    public function orderDetailed()
    {
        return $this->hasMany('order_detailed');
    }
    public function addressdata()
    {
    	return $this->belongsTo('address');
    }
}
